package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.BpmnInfo;
import cn.wolfcode.car.business.query.BpmnInfoQuery;
import cn.wolfcode.car.common.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BpmnInfoMapper {

    BpmnInfo selectOne(Long id);

    List<BpmnInfo> selectAll();

    List<BpmnInfo> queryForList(QueryObject qo);

    void insert(BpmnInfo bpmnInfo);

    void insertBatch(@Param("list") List<BpmnInfo> bpmnInfo);

    void update(BpmnInfo bpmnInfo);

    void deleteById(Long id);

    BpmnInfo queryType(String type);
}

